package com.qianfeng.spring.service.impl;

import com.qianfeng.spring.dao.UserDao;
import com.qianfeng.spring.service.UserService;

/**
 * Created by Zhaohao on 2022/5/18 22:26
 *
 * @version 1.0
 * @auther Zhaohao
 * @since 1.0
 */
public class UserServiceImpl  implements UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUser() {
        //需要一个dao
        userDao.addUser();
    }
}
